package com.tencent.cloud.iov.kernel.tmpkey;

import com.google.gson.annotations.SerializedName;

/**
 * @author vinsonhuang
 * @date 2018/5/31
 */
public class TmpKeyInfo {

    private String secretId;

    private String secretKey;

    private String sessionToken;

    private int validTime;

    private String bucketName;

    private String path;

    @SerializedName("appid")
    private String appId;

    private String region;

    public TmpKeyInfo() {
    }

    public TmpKeyInfo(String secretId, String secretKey, String sessionToken, int validTime,
                      String bucketName, String path, String appId, String region) {
        this.secretId = secretId;
        this.secretKey = secretKey;
        this.sessionToken = sessionToken;
        this.validTime = validTime;
        this.bucketName = bucketName;
        this.path = path;
        this.appId = appId;
        this.region = region;
    }

    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getSessionToken() {
        return sessionToken;
    }

    public void setSessionToken(String sessionToken) {
        this.sessionToken = sessionToken;
    }

    public int getValidTime() {
        return validTime;
    }

    public void setValidTime(int validTime) {
        this.validTime = validTime;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    @Override
    public String toString() {
        return "TmpKeyInfo{" +
                "secretId='" + secretId + '\'' +
                ", secretKey='" + secretKey + '\'' +
                ", sessionToken='" + sessionToken + '\'' +
                ", validTime=" + validTime +
                ", bucketName='" + bucketName + '\'' +
                ", path='" + path + '\'' +
                ", appId='" + appId + '\'' +
                ", region='" + region + '\'' +
                '}';
    }
}
